package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.UserRechargeCheckDao;
import com.frogs.ucenter.entity.UserRechargeCheck;
import com.frogs.ucenter.service.UserRechargeCheckService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("userRechargeCheckService")
public class UserRechargeCheckServiceImpl extends BaseServiceImpl<UserRechargeCheck> implements UserRechargeCheckService {
    @Autowired
    private UserRechargeCheckDao userRechargeCheckDao;

    public UserRechargeCheckServiceImpl() {
        super();
    }

    public UserRechargeCheckDao getUserRechargeCheckDao() {
        return userRechargeCheckDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<UserRechargeCheck> getBaseDao() {
        return userRechargeCheckDao;
    }

    public void setUserRechargeCheckDao(UserRechargeCheckDao userRechargeCheckDao) {
        this.userRechargeCheckDao = userRechargeCheckDao;
    }
}